package com.zy.entity;

import java.util.Date;

public class Order {
    private Integer id;
    private String paymentAmount;
    private Date paymentTime;
    private Integer userId;

    public Order(Integer id, String paymentAmount, Date paymentTime,Integer userId) {
        this.id = id;
        this.paymentAmount = paymentAmount;
        this.paymentTime = paymentTime;
        this.userId=userId;

    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setPaymentAmount(String paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }


    public Integer getId() {
        return id;
    }

    public String getPaymentAmount() {
        return paymentAmount;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

 public Integer getUserId() {
     return userId;
 }
}
